<?php
namespace app\api\model;
use think\Model;

class PetsPhotoComments extends Model {
    public function user() {
        return $this->belongsTo('User', 'uid')->field('id, nickname, avatar');
    }
}
